import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './Router/Index.ts'
import 'bootstrap/dist/css/bootstrap.min.css'
import {createPinia} from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'


//创建Pinia实例
const pinia = createPinia()

pinia.use(piniaPluginPersistedstate)
//通过use()完成路由挂载
createApp(App).use(pinia).use(router).mount('#app')
